package com.ruoyi.project.travel.service.impl;

import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.project.travel.mapper.OrderMapper;
import com.ruoyi.project.travel.domain.Order;
import com.ruoyi.project.travel.service.IOrderService;

/**
 * 订单 Service业务层处理
 * 
 * @author HYD
 * @date 2020-06-14
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements IOrderService {

    @Override
    public List<Order> getlist(Order order) {
        return baseMapper.getlist(order);
    }

    @Override
    public Order getListById(Long id) {
        return baseMapper.getListById(id);
    }
}
